// jsTree

.jstree-default {

    .jstree-disabled {
        cursor: not-allowed;
        height: auto;
    }

    .jstree-icon {
        &.la {
            font-size: 1.5rem;
        }

        &.fa {
            font-size: 1.2rem;
        }
    }
}


.jstree-open > .jstree-anchor > .fa-folder:before {
    margin-left: 2px;
    content: "\f07c";
}

.jstree-open > .jstree-anchor > .la-folder:before {
    margin-left: 2px;
    content: "\f200";
}

// 菜单
.vakata-context,
.vakata-context ul {
    padding: 0;
    min-width: 125px;
    font-size: 1rem;
    font-family: $e-font-families;

    @include e-rounded {
        border-radius: $e-border-radius;
    }


    li {
        border: 0;

        a {
            line-height: 1.5rem;
            padding: .7rem 1.2rem;
            color: #a7abc3;
            border: 0;

            i {
                height: auto;
                line-height: 1.5rem !important;
                margin: 0;
                display: inline-block;
            }

            .vakata-contextmenu-sep {
                display: none;
            }

            span,
            ins {
                display: none;
                border: 0 !important;
            }
        }
    }

    .vakata-context-hover > a,
    li a:hover {
        .span,
        .ins {
            border: 0 !important;
        }
    }

}

.vakata-context .vakata-context-separator a{
    margin: 0;
    border: 0;
}

.jstree-rename-input {
    outline: none !important;
    padding: 2px 6px !important;
    margin-right: -4px !important;
    background-color: e-base-color(grey, 2) !important;
    border: 1px solid e-base-color(grey, 1) !important;

    @include e-rounded {
        border-radius: 4px;
    }
}

.jstree-default {
    .jstree-anchor {
        color: e-base-color(label, 3);
    }

    .jstree-icon {
        color: e-base-color(label, 3);
    }

    .jstree-disabled {
        opacity: .7;

        .jstree-icon {
            color: e-base-color(label, 3);
        }
    }

    .jstree-clicked {
        border: 0;
        background: e-base-color(grey, 1);
        box-shadow: none;
    }

    .jstree-hovered {
        border: 0;
        background-color: e-base-color(grey, 2);
        box-shadow: none;
    }

    .jstree-wholerow-clicked,
    .jstree-wholerow-clicked {
        background: e-base-color(grey, 2);
        box-shadow: none;
    }

    .jstree-wholerow-hovered,
    &.jstree-wholerow .jstree-wholerow-hovered {
        border: 0;
        background-color: e-base-color(grey, 2);
        box-shadow: none;
    }
}

.vakata-context,
.vakata-context ul {
    padding: 1rem 0;
    background: #fff;
    box-shadow: $e-dropdown-shadow;
    border: 0;

    li {
        a {
            i {
            }

            span,
            ins {
            }
        }
    }

    .vakata-context-hover > a,
    li a:hover {
        color: #6c7293;
        background-color: #f7f8fa;
        box-shadow: none;

        .span,
        .ins {
            border: 0 !important;
        }
    }
}